package mysql

import "gorm.io/gorm"

type Post struct {
	gorm.Model
	Title   string `gorm:"type:varchar(30);not null;comment:'标题'"`
	Context string `gorm:"type:varchar(30);not null;comment:'内容'"`
	UserId  int64  `gorm:"type:int(11);not null;comment:'用户id'"`
}
